package com.obas.model.business;

/**
 * 区域
 */
public class Location extends Entity {

	/**
	 *
	 */
	private static final long serialVersionUID = 458717304851591114L;

	public static final String ATTRIBUTE_PARENTLOCATIONID = "parentLocationId";

	private long parentLocationId;
	private Location parentLocation;

	private long areaId;
	private Location area;

	/**
	 * @return the parentLocationId
	 */
	public long getParentLocationId() {
		return parentLocationId;
	}

	/**
	 * @param parentLocationId
	 *            the parentLocationId to set
	 */
	public void setParentLocationId(long parentLocationId) {
		this.parentLocationId = parentLocationId;
	}

	/**
	 * @return the parentLocation
	 */
	public Location getParentLocation() {
		return parentLocation;
	}

	/**
	 * @param parentLocation
	 *            the parentLocation to set
	 */
	public void setParentLocation(Location parentLocation) {
		this.parentLocation = parentLocation;
	}

	/**
	 * @return the areaId
	 */
	public long getAreaId() {
		return areaId;
	}

	/**
	 * @param areaId
	 *            the areaId to set
	 */
	public void setAreaId(long areaId) {
		this.areaId = areaId;
	}

	/**
	 * @return the area
	 */
	public Location getArea() {
		return area;
	}

	/**
	 * @param area
	 *            the area to set
	 */
	public void setArea(Location area) {
		this.area = area;
	}

}
